import Vue from 'vue'
import App from './App.vue'
// 5.2 导入路由实例
import router from './router'
// 🔔 完整引入 Element 组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import './style/index.less'
import './style/reset.less'

import './filter/index.js'

Vue.config.productionTip = false

new Vue({
  // 6. 把路由实例添加到 Vue 中
  router: router,
  render: (h) => h(App),
}).$mount('#app')